package org.ricks.gateway;

import org.ricks.boot.AbstractBootstrap;
import org.ricks.boot.Scan;
import org.ricks.gateway.ws.WebSocketStarter;
import org.ricks.ioc.RicksContext;

@Scan("org.ricks")
public class GatewayBoot extends AbstractBootstrap {

    @Override
    protected void onStart() {
        WebSocketStarter webSocketStarter =  RicksContext.me().getInstance(WebSocketStarter.class);
        webSocketStarter.start();
    }

    @Override
    protected void onStop() {

    }
}
